summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-09-22 05:48:17 +0200
committergerman77 <juangerman-13@hotmail.com>2023-09-24 04:14:37 +0200
commit0993c71335a13bae9bdbacde30355b5b6194c8d2 (patch)
tree8f0beca6ee3e6df7adf64db7fc16dd616e52c1c0
parentservice: am: Stub to exit applet cleanly (diff)
downloadyuzu-0993c71335a13bae9bdbacde30355b5b6194c8d2.tar
yuzu-0993c71335a13bae9bdbacde30355b5b6194c8d2.tar.gz
yuzu-0993c71335a13bae9bdbacde30355b5b6194c8d2.tar.bz2
yuzu-0993c71335a13bae9bdbacde30355b5b6194c8d2.tar.lz
yuzu-0993c71335a13bae9bdbacde30355b5b6194c8d2.tar.xz
yuzu-0993c71335a13bae9bdbacde30355b5b6194c8d2.tar.zst
yuzu-0993c71335a13bae9bdbacde30355b5b6194c8d2.zip
-rw-r--r--src/core/hle/service/hid/controllers/npad.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp
index 146bb486d..bc822f19e 100644
--- a/src/core/hle/service/hid/controllers/npad.cpp
+++ b/src/core/hle/service/hid/controllers/npad.cpp
@@ -346,6 +346,7 @@ void Controller_NPad::InitNewlyAddedController(Core::HID::NpadIdType npad_id) {
}
SignalStyleSetChangedEvent(npad_id);
WriteEmptyEntry(controller.shared_memory);
+ hid_core.SetLastActiveController(npad_id);
}
void Controller_NPad::OnInit() {